﻿/* St. James Rehab - CSS Style Sheet */



html {
  background-color: #f2e5e8;
}


body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 62.5%;
}


div.container {
  width: 90%;
  margin: 0px;
  border: 0px;
  margin-left: auto;
  margin-right: auto;
}

div.lheader, div.rheader {
  padding: 0.5em;
  color: #800020;
  background-color: #f2e5e8;
  clear: left;
  display: inline-block;
}

div.lheader {
  float: left;
  width: 10em;
  margin: 0;
  padding: 2.4em 0.5em 0.5em 0.5em;
}

div.rheader {
  margin-left: 17em;
  padding: 0em;
}

/* CSS code for Service pages with right-side menus */

div.left_body, div.right_body {
  clear: left;
  display: inline-block;
  background: #f2e5e8;
  padding: 0em;
}

div.left_body {
  width: 75%;
}

/* Right-side Services links menus */

div.right_body {
  width: 15%;
  position: absolute;
  right: 5.5%;
  border-width: 4px;
  border-color: #888888;
  border-style: outset;
  padding: 0em 1em 0em 1em;
} 

div.footer {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* Facebook LIKE links */

div.fb-like {
  width: 105%;
  margin: auto;
  text-align: center;
}


/* Text formatting for pages */

h1, h2 {
  font-family: "Times New Roman", Times, serif;
  font-variant: small-caps;
  color: #800020;
}


h1 {
  font-size: 4.15em;
}

h2 {
  font-size: 2.5em;
}

h3 {
  font-size: 2em;
}

h4 {
  font-size: 1.3em;
}

p, ul, ol, th, td {
  font-size: 1.6em;
}

ul ul {
  font-size: 1em;
}

h1.header {
  padding: 0;
  margin: 0;
}

.center {
  text-align: center;
}


/* Page top navagation bar formatting */

#nav_head {
  background: #800020;
  text-align: center;
  color: #ffffff;
  padding: 0;
}


#nav_head li {
  display: inline-block;
}


#nav_head li a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-size: 1.25em;
  padding: 0.5em 1em;
  margin: 0;
}

/* Change the link color on hover */

#nav_head li a:hover {
  color: #fff;
  background-color: #ff0000;
}


/* Change the background color on active link */

#nav_head li a.active {
    background-color: #4CAF50;
    color: white;
} 

/* Page bottom navigation bar formatting */

#nav_foot {
  background: #800020;
  color: #ffffff;
  text-align: center;
  padding: 0;
}


#nav_foot li {
  display: inline;
}

#nav_foot li a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-size: 1em;
  padding: 0.5em 1em;
  margin: 0;
}


#nav_foot li a:hover {
  color: #fff;
  background-color: #ff0000;
}


#toc li a:link {
  color: black;
  text-decoration: none;
}


#toc li a:hover {
  color: #ff00ff;
}


p a:link {
  color: black;
  text-decoration: none;
}


p a:hover {
  color: #ff00ff;
}


#closure {
  border: 5px solid blue;
  border-radius: 15px;
  padding: .5em;
  text-align: center;
  font-style: oblique;
  margin: auto;
  width: 60%;
}


figure {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}


table, th, td {
  text-align: left;
  vertical-align: top;
  padding: 5px;
}


table {
  display: inline-block;
  margin: 1em 2em;
}
