/*
  Custom ckeidtor custom styles, used in published website also to match cke editing with published content, i.e. WYSIWYG
*/

*
{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p
{
  margin-top: 0;
  margin-bottom: 1em;
  line-height: 1.3;
}

a
{
  outline: 0;
	color: black;
  cursor: pointer;
}

a:link { color: blue; }
a:visited { color: blue; }
a:hover { color: #841B2D; }
a:active { color: blue; }

input[type="text"],
textarea,
select,
a:focus 
{ 
  outline: none; 
}

hr
{
  margin-top: 20px;
  margin-bottom: 20px;
}

blockquote
{
	font-style: italic;
	padding: 2px 8px 0 2em;
	border-style: solid;
	border-color: #ccc;
	border-width: 0 0 0 .5em;
}

/* ------ */

ul, ol
{
  display: flex;
  flex-direction: column;
  margin: 0 0 1em 0;
}

li
{
  margin-bottom: .4em;
}

/* ------ */

h1
{
  display: block;
  margin: 0 0 1em; 0;
  font-size: 1.6em;
  font-weight: normal;
  letter-spacing: .08em;
}

h2
{
  display: block;
  margin: 0 0 1em; 0;
  font-size: 1.4em;
  font-weight: normal;
  letter-spacing: .06em;
}

h3
{
  display: block;
  margin: 0 0 1em; 0;
  font-size: 1.2em;
  font-weight: normal;
  letter-spacing: .04em;
}

h4
{
  display: block;
  margin: 0 0 1em; 0;
  font-size: 1.1em;
  font-weight: normal;
  letter-spacing: .02em;
}

/* ------ */

div.text_box
{
  display: block;
  position: relative;
  width: 100%;
  margin: 0 0 1em 0;
  padding: 1em 1em 0 1em;
  background-color: #cccccc;
  border: 1px solid black;
  border-radius: 8px;
}

/* ------ */

div.center_box
{
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  margin: 0 0 1em 0;
}

div.center_box > ul
{
  display: table; /*  causes ul width to fit content */
  margin: 0 auto;
}

/* ------ */

div.shrink_box
{
  display: block;
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1em auto;
  padding: 1em 1em 0 1em;
  border: 1px solid black;
  border-radius: 8px;
  background: #cccccc;
}

/* ------ */

div.multi_col
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 1em;
  width: 100%;
}

div.multi_col > div,
div.multi_col > ul
{
  flex: 1 1 48%;
  margin: 0 4px;
  min-width: 220px;
}
