/* 
Style sheet for PracticingElectronics.com articles. 

W. Newhall 12/6/2015 - Original version
*/

/* Sets the fixed-width of the overall web page */
#all {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Sets the style for the page header */
#page_header{

}

/* Sets the style for the page footer */
#page_footer{

}

/* Sets the style for the article content */
/* Total pixels in width + padding in article & sidebar columns need to add to #all width */
#article{
  float: left;
  width: 470px;
  font-family: arial, sans-serif;
  padding-left: 20px;
  padding-right: 10px;
}

/* Sets the style for the sidebar */
/* Total pixels in width + padding in article & sidebar columns need to add to #all width */
#sidebar{
  padding-top: 1.1em;
  float: left;
  width: 300px;
  font-family: arial, sans-serif;
}

/* Sets the way figures are displayed in the article */
img.figure {
  display: block;
	/*margin-left: auto;
	margin-right: auto;*/
  margin: auto;
	/*max-width: 50%	*/
  /*padding: 0px, 0px, 0px, 0px;*/
  max-width: 470px;
  vertical-align: top;
}

/* Sets the style for h1 (used for the title of the article) */
h1 { 
    color: #483D8B;
    display: block;
    font-size: 1.5em;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

/* Sets the style for h2 (used for the section headings of the article) */
h2 { 
    color: #483D8B;
    display: block;
    font-size: 1.25em;
    margin-top: 0.83em;
    margin-bottom: 0em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

/* Sets the style for h3 (used for the 2nd level section headings of the article) */
h3 {
    color: #483D8B;
}

/* Sets the style for p (used for the text of the article) */
p {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}

/* Sets the style for the abstract class of p (used for the abstract at the top of the article) */
p.abstract{
  font-style:  italic;
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}

p.figcapt{
  color: darkgoldenrod;
  text-align: center;
  font-size:  90%;
  font-weight: bold;  
}

p.subtitle{
  color:  #483D8B;
  font-weight: bold;  
}

p.minorheading1{
  color: #483D8B;
  padding-left: 25px;
  font-weight: bold;  
}

p.blockindent1{
  padding-left: 25px; 
}

p.blockindent2{
  padding-left: 50px; 
}

p.codeblockindent1{
  padding-left: 25px; 
  font-family: "Courier New";
  font-size: 0.9em
}

li{
  margin: 10px 0;
}

/* Sets the style for the captions under the figures in the article */
figcaption {
  color: darkgoldenrod;
  text-align: center;
  font-size:  90%;
  font-weight: bold;
}

/* Sets the style for tables */
table, th, td  {
    border: 1px solid black;
    border-collapse: collapse;
}
th, td {
    padding: 5px;
}

/* Sets the style for the byline (author) */
#byline{
    display: block;
	color: dimgray;
    font-size: 0.9em;
	margin-top: 0em;
    margin-bottom: 0em;
    margin-left: 0;
    margin-right: 0;
}
