/********************************************
* 
* Styling custom Block Quotes
*
*********************************************/

/*** Image resize in IE ***/
.card-body{
overflow:hidden;
}

blockquote{
   border-left: solid 0.5rem currentColor;
   margin-left: 1rem;
   padding-left: 1rem;
}

p {
text-align: justify;
}

.recent_articles{
   list-style:none;
   padding:0;
}

/********************************************
* 
* Styling images with capion
*
*********************************************/

td.image{
	border:0;
	text-align:center;
}
td.caption{
	border:0;
	padding-left:0.5em;
	padding-top:4pt;
	padding-bottom:4pt;
	font-size:0.75em;
	line-height:1.5em;
	font-style:italic;
	color:#424242;
	text-align:center;
}

p.img,figure {
	display: table;
	margin: 1em auto 1em auto;
	text-align:center;
	padding:1pt;
	border:#f0f0f0 solid 1pt;
}
p.img > img{
	display: inline-block;
}
p.img > img ~ span, figcaption {
	display:block;
	border:0;
	padding-top:4pt;
	padding-bottom:4pt;
	background-color:#f0f0f0;
	font-size:0.75em;
	line-height:1.5em;
	font-style:italic;
	color:#424242;
}

p.img > br{
	display:none;
}

/********************************************
* 
* Styling headlines
*
*********************************************/

h2,h3,h4,h5,h6,h7 {
	border-bottom: solid 1px #c0c0c0;
}

body{
	counter-reset: chapter;
}
h2.num:before {
	content: counter(chapter) ". ";
	counter-increment: chapter;  /* Add 1 to chapter */
	}
h2.num{
	counter-reset: section;      /* Set section to 0 */
	}
h3.num:before {
	content: counter(chapter) "." counter(section) " ";
	counter-increment: section;
}
