/* Reset CSS*/
html,
body,
div,
span,
object,
iframe,
em,
img,
p,
ol,
ul,
li,
form,
article,
audio,
video,
h1,
h2,
h3,
h4 {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;
  vertical-align: baseline;
}
h1,
h2,
h3,
h4 {
  color: black;
   text-align: center;
}

html {
  line-height: 1.5;
  font-size: 16px;
}

/* Body styles */
body {
  font-size: 1.125em;
  color: black;
  background-color: white;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 1920px;
  margin: 5px 3% 5px 5%;
  transform: none;
  /* So 'fixed' will work on phone */
}

/* Paragraph styles */
p {
  margin-top: 1.5rem;
}

li {
  line-height: 1.5;
}

/* Heading styles */
h1 {
  display: block;
  font-size: 1.85em;
  line-height: 1.25;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h2 {
  display: block;
  font-size: 1.5em;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h3 {
  display: block;
  font-size: 1.17em;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h4 {
  display: block;
  font-size: 1em;
  margin-top: 1.33em;
  margin-bottom: 1.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}


div.toplink {
  position: fixed;
  top: 0px;
  left: 0px;
  margin: 0;
  opacity: 1;
  font-size: 0.9em;
}


.info {
  text-align: center;
}

.flexcontents {
  display: flex;
  justify-content: center;
}

/* Display image with text inside */
.design {
  position: relative;
  color: black;
  width: 100%;
  margin-right: 2%;
}

.bottom-left {
  position: absolute;
  bottom: 6px;
  left: 8px;
}

.practice h3 {
  color: crimson;
}



hr {
  border:none;
  border-top: 5px solid green;
  width: 95%;
}

.boxg {
  padding: 5px 10px 5px 15px;
  border:5px solid green;
}

.boxr {
  padding: 5px 10px 5px 15px;
  border: 4px solid crimson;
}

/* Center small image, 144px */
.centera {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 144px;
  margin-bottom: -1em;
}

.attn {
  color: crimson;
}

ul li {
  list-style-position: inside;
  margin-left: 0;
  /* margin-bottom:.25rem; */
}

li {
  margin-top: 0rem;
}

/* Format the references list */
.references ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
  font-size: 80%;
}

/* Indent continuing lines */
.references li {
  text-indent: -2rem;
  padding-left: 2rem;
}

.shortlist li {
  list-style-position: inside;
}

a:link {
  color: #1F51FF;
  text-decoration: underline;
}

a:visited {
  color: purple;
  text-decoration: underline;
}

a:hover {
  color: crimson;
  text-decoration: underline;
}

a:focus {
  color: purple;
  text-decoration: underline;
}

a:active {
  color: crimson;
  text-decoration: none;
}

.grayed {
  opacity: .4
}

.logo {
  color: white;
  background-color: green;
}

.toplinkcolor:visited {
  color: blue;
}



@media only screen and (max-width: 600px) {
  /* Small screen  */
div.toplink {
  font-size: 0.7rem;
}
}




@media print {
    html {
        background-color: white;
    }

    body {

        margin-right: 2rem;
        font-size: 1em;
    }

    h2 {
        line-height: 1.15; /* to avoid scrunched subtitles */
    }

h2, h3, h4 {
    page-break-after: avoid;
}

    div.toplink {
        display: none;
    }
}
