/* Basic Structure */
body {
  margin: 0px;
  color: #000000;
  background-color: #FFFFFF;
  padding: .5em;
}

#mBody {
  clear: both;
  padding: 0 0 1em 0;
  min-width: 500px;
}

#side {
  float: left;
  width: 17%;
  min-width: 100px;
  margin-bottom: 1em;
  font-size: small;
}

#mainContent {
  margin-left: 22%;
  margin-right: 5%;
}

/* Header and Footer */

#curlie-headbar h1 {
  font-family: 'Baloo', cursive;
  font-size: 60px;
  margin-left: 10px;
}

#curlie-headbar a:hover {
  text-decoration: none;
}

#headbar {
  padding: 3px;
  border-bottom: 5px solid #CCCCCC;
  margin-bottom: 1em;
}
#headbar h1 {
  margin: 0px;
  padding: 0px;
  border-width: 0px;
}
#headbar h1 a {
  display: block;
  background-size:  contain;
  width: 160px;
  height: 40px;
  text-indent: -700em;
  text-decoration: none;
}

div.footer {
  font-size: 90%;
  margin-top: 2em;
  padding-top: 3px;
  clear: both;
  border-top: 1px solid #bd0020;
}

.wordwrap {
    /* wrap long text and urls */
    white-space: pre;            /* CSS 2.0 */
    white-space: pre-wrap;       /* CSS 2.1 */
    white-space: pre-line;       /* CSS 3.0 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    white-space: -moz-pre-wrap;  /* Mozilla */
    word-wrap:   break-word;     /* IE 5+ */
}


/* Link colors */
a { text-decoration: none;
}
a:link {
  color: #bd0020;
  font-weight: bold;
}
li a:link { 
  font-weight: normal;
}
a:visited {
  color: #bd0020;
}
a:active {
  color: #222;
}

a:hover {
  color: #222;
  text-decoration: underline;
}


/* Headers */
h1,h2,h3,h4,h5,h6,h7 { font-family: 'Baloo'; font-weight: normal; color: #000000; }

h1 {
  font-size: 2.5em;
  border-bottom: 1px solid #bd0020;
}
h2 {
  font-size: 2.0em;
  margin-top: 1.2em;
}
h3 {
  font-size: 1.3em;
  margin-top: 2em;
}
h4,h5,h6,h7 { 
  font-size: 1em;
  margin: 1em 0em 0em 0em;
}

div.copyright {
  border-top: 1px solid #bd0020;
  padding-top: 5px;
  margin-top: 70px;
}

#clipart-attribution {
  text-align: right;
  font-size: .8em;
  float: right;
  padding-right: 10px;
}

#curlie-mascot {
  display: block;
  float: left;
  background:       #ffffff url(/National_Library/20161222123739oe_/https://curlie.org/img/curlie-red-wave.png) no-repeat 0 0;
  background-size:  contain;
  margin-top: 40px;
  height: 275px;
  width: 215px;
  margin-left: 70px;
}

#curlie-message {
  padding-top: 40px;
  width: 80%;
}

#main-copyright {
  clear: both;
}

div.curlie-text p {
  font-size: 1.2em;
}

h1.about-text {
  margin-top: 100px;
  margin-left: 13px;
  margin-right: 13px;
  padding-top: 5px;
  border-bottom: none;
  border-top: 1px solid #bd0020;
  font-style: italic;
}

h2.about-text {
  font-style: italic;
  margin-left: 10px;
  font-size: 1.5em;
}

div.about-text {
  font-size: 24px;
  margin: 40px 70px 40px 40px;
/*  text-align: justify;  */
}

div.hilite { border: 1px solid #669933; background: #F0F0E0; }

.warning {
  background: #FFFF99;
  border: 1px solid red;
  padding: 5px;
}
.important {
  background: #E3ECDA;
  border: 3px double black;
  color: black;
  padding: 5px;
  margin: 1em;
}
.title { font-weight: bold; }

hr { color: #FFFFFF;
  background-color: #FFFFFF;
  height: 1px;
  border: 0;
  border-top: 1px solid #bd0020;
}


/*************** Small screens ***************/

@media screen and (max-width: 625px) {

    /* Documentation uses these IDs.  On mobile, hide side navigation menu. */
    #side        { display: none; }
    #mBody       { min-width: 0; }
    #mainContent { margin: 0 5%; }
}
