/*=============================================================================
  File:         readwritetools.com/css/license.css
  Language:     CSS
  Copyright:    Read Write Tools © 2023
  License:      CC-BY-NC-ND 4.0
  Initial date: Jan 11, 2023
  Contents:     formatting for license text
=============================================================================*/

details.license {
	margin-bottom: 7rem;	
}
article.license h1,
article.license h2,
article.license h3,
article.license h4,
details.license h1,
details.license h2,
details.license h3,
details.license h4 {
	color: var(--white);
}
article.license h4,
details.license h4 {
	padding-left: 4rem;
}
article.license h1:first-of-type,
details.license h1:first-of-type,
details.license h2 {
	font-size: 1.2rem;
}
article.license h3,
details.license h3 {
	text-align: left;
}
article.license ul,
article.license ol,
article.license p,
details.license ul,
details.license ol,
details.license p {
	padding: 0 1rem 0 4rem;
	font-size: 0.9rem;
}
article.license ol ol,
article.license ol ul,
article.license ul ul,
article.license ul ol,
details.license ol ol,
details.license ol ul,
details.license ul ul,
details.license ul ol {
	padding: 0 1rem 0 1rem;
}
details.license ol { list-style-type: decimal }
details.license ol ol { list-style-type: lower-alpha; }

article.license ul li,
article.license ol li,
details.license ul li,
details.license ol li {
	font-size: 0.9rem;
}
details.license summary {
	font-family: var(--sans-serif-font);
	color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    margin-bottom: 3.5rem;
}
article.license,
details[open].license {
	font-family: var(--sans-serif-font);
	color: var(--color);
    background-color: var(--medium-black);
    border-width: 1px;
    border-style: solid;
    border-color: var(--gray);
    box-shadow: -2px -2px 2px var(--pure-black), 5px 5px 8px var(--pure-black);
    padding: 1rem;
}
img.license {
 	float: right;
 	width: 8rem;
 	margin-right: 1rem;
 }
 